package VO;

import java.util.ArrayList;

import Sale.*;

public class OrderListVO {
	ArrayList<OrderVO> orderList=new ArrayList<OrderVO>();
	
	public OrderListVO(){}
	public OrderListVO(OrderList ol){
		for(Order o:ol.getOrderList()){
			OrderVO ordervo=new OrderVO(o);
			orderList.add(ordervo);
		}
	}
	public OrderListVO(ArrayList<OrderVO> ol){
		orderList=ol;
	}
	public ArrayList<OrderVO> getOrderList(){
		return orderList;
	}
}
